package com.gitee.ice1938.event;

import org.springframework.context.ApplicationEvent;

public class PluploadFileEvent extends ApplicationEvent {

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = -84967391289591948L;

	private String message;
	private String userName;
	private Boolean complete = false;
	private String fileName;

	public PluploadFileEvent(String userName, String fileName, String message) {
		super(userName);
		this.message = message;
		this.userName = userName;
		this.fileName = fileName;
	}

	public PluploadFileEvent(String userName) {
		super(userName);
		this.userName = userName;
		this.complete = true;
	}

	public String getMessage() {
		return message;
	}

	public String getUserName() {
		return userName;
	}

	public Boolean getComplete() {
		return complete;
	}

	public String getFileName() {
		return fileName;
	}

}
